﻿using UnityEngine;
using System.Collections;

public class SPFInput : MonoBehaviour {
	public static float speed=10f;
	void Start () {	
	}

	void Update () {
		float deltaX = Input.GetAxis ("Horizontal") * speed;
		float deltaZ = Input.GetAxis ("Vertical") * speed;

		transform.Translate (deltaX * Time.deltaTime, 0, deltaZ * Time.deltaTime);
	}
}
